package com.codingfuture.erp_system.service;

import com.codingfuture.erp_system.dto.DepDto;
import com.codingfuture.erp_system.entity.Dep;

import java.util.List;

public interface DepService {

    DepDto findById(Integer id);

    boolean insert(Dep dep);

    List<Dep> findByAll(Dep dep);

    boolean update(Dep dep);

    boolean delete(Integer id);


    String nameExist(String name);
}
